// 加注订单
export const getOrderFillingList = `
query($staff_id:Int,$page:Int,$start:String,$end:String,$fill_status:Int,$pay_type:String){
getOrderFillingList(staff_id:$staff_id,page:$page,start:$start,end:$end,fill_status:$fill_status,pay_type:$pay_type){
    list{
        id
        order_sn
        fill_status_text
        product_name
        money
        amount
        price
        createtime
        pay_type_text
    }
    total
    lastpage
    money
    amount
    shouyi
  }
}
`;
// 加注订单详情
export const getOrderFillingInfo = `
query($id:Int){
getOrderFillingInfo(id:$id){
    id
    order_sn
    fill_status_text
    product_name
    money
    amount
    price
    createtime
    driver_name
    fill_name
    pay_type_text
  }
}
`;
// 加注订单筛选
export const getOrderFillingSearch = `
query($staff_id:Int){
getOrderFillingSearch(staff_id:$staff_id){
    type
    name
    data{
        name
        value
    }
  }
}
`;
// 充值订单
export const getOrderRechargeList = `
query($staff_id:Int,$page:Int,$start:String,$end:String,$pay_type:String){
getOrderRechargeList(staff_id:$staff_id,page:$page,start:$start,end:$end,pay_type:$pay_type){
    list{
        id
        order_sn
        money
        driver_name
        unit
        createtime
    
    }
    total
    lastpage
    money
    amount
    shouyi
  }
}
`;
// 充值订单详情
export const getOrderRechargeInfo = `
query($id:Int){
getOrderRechargeInfo(id:$id){
    id
    order_sn
    money
    driver_name
    unit
    createtime
  }
}
`;
// 充值订单筛选
export const getOrderRechargeSearch = `
query($staff_id:Int){
getOrderRechargeSearch(staff_id:$staff_id){
    type
    name
    data{
        name
        value
    }
  }
}
`;
// 核销记录订单
export const getHexiaoLog = `
query($staff_id:Int,$page:Int,$start:String,$end:String,){
getHexiaoLog(staff_id:$staff_id,page:$page,start:$start,end:$end,){
    list{
      id
      order_sn
      createtime
      driver_name 
      goods_list{
          goods_id
          name
          image
          nums
          score
          type
          money
          expirytime
      }
    }
    total
    lastpage
  }
}
`;
// 核销详情
export const getHexiaoInfo = `
query($order_id:Int){
getHexiaoInfo(order_id:$order_id){
  id
  order_sn
  updatetime
  createtime
  driver_name
  driver_mobile
  staff_image
  staff_des
  subtitle
  goods_list{
      goods_id
      name
      image
      nums
      score
      type
      money
      expirytime
  }
  }
}
`;